﻿using System;

namespace Hxsoft.AppV1.Admin
{
	/// <summary>
	/// 操作导航项结构。
	/// </summary>
	[Serializable]
	public struct OperationNavigationItem
	{
		private string _text;
		private string _navigationUrl;

		/// <summary>
		/// 导航文本。
		/// </summary>
		public string Text
		{
			get { return _text; }
			set { _text = value; }
		}

		/// <summary>
		/// 导航到的地址。
		/// </summary>
		public string NavigationUrl
		{
			get { return _navigationUrl; }
			set { _navigationUrl = value; }
		}

		public OperationNavigationItem(string text, string navigationUrl)
		{
			_text = text;
			_navigationUrl = navigationUrl;
		}
	}
}
